message(STATUS "01_fs lib - ${CMAKE_CURRENT_SOURCE_DIR}")

aux_source_directory(. SRC)

add_library(01_fs OBJECT ${SRC})

if(NOT CMAKE_CXX_STANDARD EQUAL 20)
	target_include_directories(
		01_fs 
		PRIVATE
		${3RD_DIR}/boost/include
	)
else()
	target_include_directories(
		01_fs 
		PRIVATE
	)
endif()

if(NOT CMAKE_CXX_STANDARD EQUAL 20)
		target_link_libraries(
			01_fs
			PRIVATE
			boost_filesystem
			boost_system
			pthread
		)
else()
		target_link_libraries(
			01_fs
			PRIVATE
			pthread
		)
endif()